#!/bin/bash
# version: 1.2
# date: 2022/05/31
# 可选依赖包: acpilight
# 安装命令: sudo pacman -S acpilight
# 将当前用户添加到video实现免root控制亮度: sudo gpasswd video -a $USER

light=`xbacklight -get`
echo "$light"